package com.alinesno.cloud.initializr.starter.entity;

import com.alinesno.cloud.common.facade.mapper.entity.BaseEntity;
import com.alinesno.sdk.generator.table.annotation.Column;
import com.alinesno.sdk.generator.table.annotation.ColumnComment;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 构建工程信息
 * 
 * @author WeiXiaoJin
 * @since 2021年6月27日 下午5:16:57
 */
@SuppressWarnings("serial")
@TableName("build_project_params")
public class BuildProjectParamsEntity extends BaseEntity {

	@ColumnComment("项目Id")
	@Column(length = 64)
	@TableField
	private String projectId; // 构建项目id

	@ColumnComment("构建类型")
	@Column(length = 16)
	@TableField
	private String buildType; // 构建类型

	@ColumnComment("构建场景")
	@Column(length = 16)
	@TableField
	private String buildScene; // 构建场景

	// >>>>>>>>>>>>>>>>>>> 容器资源_start >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	@ColumnComment("容器CPU限制")
	@Column(length = 8)
	@TableField
	private String resourceLimitCpu;

	@ColumnComment("容器内存限制")
	@Column(length = 8)
	@TableField
	private String resourceLimitMem;

	@ColumnComment("容器CPU请求")
	@Column(length = 8)
	@TableField
	private String resourceRequestCpu;

	@ColumnComment("容器内存请求")
	@Column(length = 8)
	@TableField
	private String resourceRequestMem;
	// >>>>>>>>>>>>>>>>>>> 容器资源_end >>>>>>>>>>>>>>>>>>>>>>>>>>>>>

	@ColumnComment("容器端口")
	@Column(length = 8)
	@TableField
	private String containerPort; // 容器端口

	// >>>>>>>>>>>>>>>>>>> 自定义参数_start >>>>>>>>>>>>>>>>>>>>>>>>
	@ColumnComment("容器参数")
	@Column(length = 1024)
	@TableField
	private String jsonParams;
	// >>>>>>>>>>>>>>>>>>> 自定义参数_end >>>>>>>>>>>>>>>>>>>>>>>>

	@ColumnComment("服务监控")
	@Column(length = 512)
	@TableField
	private String serviceMonitor; // 服务监控

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getJsonParams() {
		return jsonParams;
	}

	public void setJsonParams(String jsonParams) {
		this.jsonParams = jsonParams;
	}

	public String getBuildType() {
		return buildType;
	}

	public void setBuildType(String buildType) {
		this.buildType = buildType;
	}

	public String getBuildScene() {
		return buildScene;
	}

	public void setBuildScene(String buildScene) {
		this.buildScene = buildScene;
	}

	public String getResourceLimitCpu() {
		return resourceLimitCpu;
	}

	public void setResourceLimitCpu(String resourceLimitCpu) {
		this.resourceLimitCpu = resourceLimitCpu;
	}

	public String getResourceLimitMem() {
		return resourceLimitMem;
	}

	public void setResourceLimitMem(String resourceLimitMem) {
		this.resourceLimitMem = resourceLimitMem;
	}

	public String getResourceRequestCpu() {
		return resourceRequestCpu;
	}

	public void setResourceRequestCpu(String resourceRequestCpu) {
		this.resourceRequestCpu = resourceRequestCpu;
	}

	public String getResourceRequestMem() {
		return resourceRequestMem;
	}

	public void setResourceRequestMem(String resourceRequestMem) {
		this.resourceRequestMem = resourceRequestMem;
	}

	public String getContainerPort() {
		return containerPort;
	}

	public void setContainerPort(String containerPort) {
		this.containerPort = containerPort;
	}

	public String getServiceMonitor() {
		return serviceMonitor;
	}

	public void setServiceMonitor(String serviceMonitor) {
		this.serviceMonitor = serviceMonitor;
	}

}
